package com.ruoyi.bearing.mapper;

import java.util.List;
import com.ruoyi.bearing.domain.BearingBasicInfo;

/**
 * 部门Mapper接口
 * 
 * @author ruoyi
 * @date 2023-06-30
 */
public interface BearingBasicInfoMapper 
{
    /**
     * 查询部门
     * 
     * @param id 部门主键
     * @return 部门
     */
    public BearingBasicInfo selectBearingBasicInfoById(Long id);

    /**
     * 查询部门列表
     * 
     * @param bearingBasicInfo 部门
     * @return 部门集合
     */
    public List<BearingBasicInfo> selectBearingBasicInfoList(BearingBasicInfo bearingBasicInfo);

    /**
     * 新增部门
     * 
     * @param bearingBasicInfo 部门
     * @return 结果
     */
    public int insertBearingBasicInfo(BearingBasicInfo bearingBasicInfo);

    /**
     * 修改部门
     * 
     * @param bearingBasicInfo 部门
     * @return 结果
     */
    public int updateBearingBasicInfo(BearingBasicInfo bearingBasicInfo);

    /**
     * 删除部门
     * 
     * @param id 部门主键
     * @return 结果
     */
    public int deleteBearingBasicInfoById(Long id);

    /**
     * 批量删除部门
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBearingBasicInfoByIds(Long[] ids);
}
